// import { from } from "core-js/core/array";
import {get,post} from './request.js'
export function getGoodsInfo(params){
    return get('v1/goods/getbyid',params)
}
export function getGoodAttrs(params){
    return get('v1/goods/getgoodsattr',params)
}
export function goodsToCart(params){
    return post('v1/shoppingcart/goodstocart',params)
}
export function goodsCheckout(params){
    return post('v1/checkout/quicksubmit',params)
}
export function searchGoods(params){
    return get('v1/search/find',params)
}